﻿#region Using Directives

    using System;
    using Csla;

#endregion

namespace MarketPulse.BusinessLogic.Common.Criteria
{
    /// <summary>
    /// Criteria class that allows the supply of several parameters to be used to search for an Assignment
    /// </summary>
    [Serializable]
    public class AssignmentSearchCriteria : CriteriaBase<AssignmentSearchCriteria>
    {

        #region Constructor(s)

            /// <summary>
            /// Default constructor for this class
            /// </summary>
            /// <param name="clientGuid">The Guid of the Client to search for Assignments for</param>
            /// <param name="countryGuid">The Guid of the Country to search for Assignments for</param>
            public AssignmentSearchCriteria(Guid? clientGuid, Guid? countryGuid) 
            {
                ClientGuid = clientGuid;
                CountryGuid = countryGuid;
            }

        #endregion

        #region Properties

            /// <summary>
            /// The Guid of the Client to search for Assignments for
            /// </summary>
            public Guid? ClientGuid { get; private set; }

            /// <summary>
            /// The Guid of the Country to search for Assignments for
            /// </summary>
            public Guid? CountryGuid { get; private set; }

        #endregion

    }
}
